Uitwisselprofiel NZa Structurele Informatieverstrekking Bedrijfsvoering Wmg
2.1 Aantal cliënten per wet
Concepten
Relaties
Eigenschappen
SPARQL query
Code gekopieerd
...Kopieer naar klembord
1# Indicator: NZA WMG 2.1 2# Parameters: 3# Ontologie: versie 3.0.0 of nieuwer 4 5PREFIX onz-g: <http://purl.org/ozo/onz-g#> 6PREFIX onz-zorg: <http://purl.org/ozo/onz-zorg#> 7PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 8PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 9PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 10 11SELECT 12 (COUNT(DISTINCT IF(BOUND(?zvw), ?client, ?unbound)) AS ?Aantal_clienten_Zvw) 13 (COUNT(DISTINCT IF(BOUND(?wlz), ?client, ?unbound)) AS ?Aantal_clienten_Wlz) 14 (COUNT(DISTINCT IF(!BOUND(?zvw) && !BOUND(?wlz), ?client, ?unbound)) AS ?Aantal_clienten_Overige_zorg) 15 16{ 17 BIND("2024-01-01"^^xsd:date AS ?start_datum) 18 BIND("2024-12-31"^^xsd:date AS ?eind_datum) 19 { 20 ?indicatie a onz-zorg:IndicatieBesluit 21 } UNION { 22 ?indicatie a onz-zorg:ForensischeIndicatieStelling 23 } 24 ?indicatie 25 onz-g:isAbout ?client ; 26 onz-g:startDatum ?start_indicatie . 27 OPTIONAL { ?indicatie onz-g:eindDatum ?eind_indicatie . } 28 FILTER (?start_indicatie <= ?eind_datum && (!BOUND(?eind_indicatie) || ?eind_indicatie >= ?start_datum)) 29 ?client 30 a onz-g:Human . 31 OPTIONAL { 32 ?indicatie a onz-zorg:WlzIndicatie . 33 BIND(1 AS ?wlz) . 34 } 35 OPTIONAL { 36 ?indicatie a onz-zorg:ZvwIndicatie . 37 BIND(1 AS ?zvw) . 38 } 39} 40
Heb je feedback?
Loopt u tegen een issue of vraag aan bij het KIK-V product? Neem dan contact met ons op!